/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const devToolRouter = {
  path: '/dev-tool',
  component: Layout,
  redirect: '/dev-tool/code-generate',
  name: '开发工具',
  meta: {
    title: '开发工具',
    icon: 'table'
  },
  children: [
    {
      path: 'code-generate',
      component: () => import('@/views/dev-tool/code-generate/index'),
      name: '代码生成',
      meta: { title: '代码生成' }
    },
    {
      path: 'file-storage',
      component: () => import('@/views/dev-tool/code-generate/index'),
      name: '文件存储',
      meta: { title: '文件存储' }
    }
  ]
}
export default devToolRouter
